\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemehytex.sty,v 1.0 2005/12/08 09:48:48 tantau Exp $

% Modified from smoothtree.sty

\mode<presentation>

\setbeamercolor{frametitle}{parent=palette primary}

\AtBeginDocument{
  {
	\usebeamerfont*{headline}

	\usebeamercolor{normal text}
	\usebeamercolor{title in head/foot}
	\usebeamercolor{section in head/foot}
	\usebeamercolor{frametitle}

	\pgfdeclareverticalshading{beamer@aboveframetitle}{\the\paperwidth}{%
	  color(0ex)=(frametitle.bg);%
	  color(1ex)=(frametitle.bg)%
	}

	\pgfdeclareverticalshading{beamer@belowframetitle}{\the\paperwidth}{%
	  color(0ex)=(normal text.bg);%
	  color(1ex)=(frametitle.bg)
	}
  }
}

\defbeamertemplate*{headline}{hytex theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{section in head/foot}%
	\usebeamerfont{title in head/foot}\hspace*{2ex}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{subsection in head/foot}%
	\usebeamerfont{section in
	head/foot}\insertsectionhead\hspace*{2ex}
  \insertframenumber{}
  \end{beamercolorbox}%
%  \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
%\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
%\insertframenumber{}\hspace*{2ex}
%  \end{beamercolorbox}}%
}
  \vskip-1.5pt%
}


\defbeamertemplate*{frametitle}{hytex theme}
{%
  \nointerlineskip%
  \usebeamerfont{headline}%
  \begin{beamercolorbox}[wd=\paperwidth,ht=1.5ex,dp=0ex]{empty}
	\pgfuseshading{beamer@aboveframetitle}%
  \end{beamercolorbox}%
  \vskip-.5ex%
  \nointerlineskip%
  \begin{beamercolorbox}[wd=\paperwidth,leftskip=.935cm,rightskip=.3cm plus1fil]{frametitle}
	\usebeamerfont*{frametitle}\insertframetitle%
	  \ifx\insertframesubtitle\@empty%
		\strut\par%
	  \else
		\par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}%
	  \fi%%
	\usebeamerfont{headline}%
	\vskip.5ex
  \end{beamercolorbox}%
  \nointerlineskip
  \begin{beamercolorbox}[wd=\paperwidth,ht=.5ex,dp=0ex]{empty}
	\pgfuseshading{beamer@belowframetitle}%
  \end{beamercolorbox}%
}



\mode
<all>
